package com.mycompany.tableOpe.service;

import com.mycompany.mvc.utils.BaseResult;
import com.mycompany.mvc.utils.EasyResult;
import com.mycompany.tableOpe.entity.TableOpeBean;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/9/1 0001.
 */
public interface TableOpeService {
    public BaseResult addTable(TableOpeBean tableOpeBean);

    public BaseResult updateTable(TableOpeBean tableOpeBean);

    public BaseResult getAllTable();

    public ModelAndView getSafeItem(Map<String,Object> map);

    public EasyResult getTableList(Map<String,Object> map);

    public ModelAndView editTableList(Map<String,Object> map);

    public EasyResult saveTable(TableOpeBean tableOpeBean);

}
